﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddCommentCricketGround.aspx.vb" Inherits="CricketForum.AddCommentCricketGround" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        width: 200px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
       Add Comments and Stadium Picture
    </h2>
    <table width="100%">
        <tr>
            <td class="style1">
                Title
            </td>
            <td>
                <asp:TextBox ID="txtTitle" runat="server" Width="500px" MaxLength="255"></asp:TextBox>
            </td>

             <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="txtTitle" ErrorMessage="Required Title" ValidationGroup="AddCricInfoComments"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                Description
            </td>
            <td>
                <asp:TextBox ID="txtDescription" runat="server" Height="139px" 
                    TextMode="MultiLine" Width="500px"></asp:TextBox>
            </td>

              <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="txtDescription" ErrorMessage="Required Description" ValidationGroup="AddCricInfoComments"></asp:RequiredFieldValidator>
            </td>
        </tr>      
       
        <tr>
            
            <td class="style1">
                Team Picture
            </td>
            <td>
                <asp:FileUpload ID="fuProfilePicture" runat="server" />
                
            </td>
                 <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="fuProfilePicture" ErrorMessage="Required  Stadium Picture" ValidationGroup="AddCricInfoComments"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="3" style="text-align:center">
                <asp:Button ID="btnSaveCommentOnCricketGround" runat="server" Text="Save Comment and Stadium Picture" ValidationGroup="AddCricInfoComments" />
            </td>
        </tr>
    </table>
</asp:Content>
